<?php

namespace backend\assets;

use yii\web\AssetBundle;

/**
 * Main backend application asset bundle.
 */
class AppAsset extends AssetBundle
{
    public $basePath = '@webroot';
    public $baseUrl = '@web';
    public $jsOptions = [
        'position' => \yii\web\View::POS_HEAD
    ];
    public $cssOptions = [
        'position' => \yii\web\View::POS_HEAD
    ];
    public $css = [
        'css/site.css',
        'css/widgets.css',
        'css/ionicons.min.css',
        'metronic/theme/assets/layouts/layout/css/layout.min.css',
        'metronic/theme/assets/global/css/components.min.css',
        'metronic/theme/assets/layouts/layout/css/themes/darkblue.min.css',
        'metronic/theme/assets/layouts/layout/css/custom.min.css',
        "metronic/theme/assets/global/plugins/font-awesome/css/font-awesome.min.css" ,
        "metronic/theme/assets/global/plugins/simple-line-icons/simple-line-icons.min.css" ,
    ];
    public $js = [
       // "metronic/theme/assets/global/plugins/bootstrap/js/bootstrap.min.js",
        "js/template.js",
        "js/widgets.js",
        "metronic/theme/assets/global/plugins/js.cookie.min.js",
        "metronic/theme/assets/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js",
        "metronic/theme/assets/global/plugins/jquery.blockui.min.js",
        "metronic/theme/assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js",
        'metronic/theme/assets/global/plugins/morris/morris.min.js',
        'metronic/theme/assets/global/scripts/app.min.js',
        'metronic/theme/assets//pages/scripts/dashboard.min.js',
        'metronic/theme/assets/layouts/layout/scripts/layout.min.js',
        'metronic/theme/assets/global/plugins/bootbox/bootbox.min.js',
        'metronic/theme/assets/global/plugins/bootstrap-toastr/toastr.min.js',
        'metronic/theme/assets/layouts/global/scripts/quick-sidebar.min.js'
    ];
    public $depends = [
        'yii\web\YiiAsset',
        //'yii\bootstrap\BootstrapAsset',
        'yii\bootstrap\BootstrapPluginAsset',
    ];
}
